// pages/map/map.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    markers:[{
      longitude: "113.016822",
      latitude: "28.14802",
      title:"title",
      iconPath:"/image/icon_API.png",
      width:50,
      heght:50,
      alpha:0.5,
      rotate:45,
      callout:{
         content:"长沙民政学院",
         color:"#000000",
         display:"ALWAYS",
         fontSize:"50",
         borderRadius:5,
         padding:10,
         bgColor:"#cccccc"

      },
         label:{
           content: "长沙民政学院",
           color: "#000000",
           display: "ALWAYS",
           fontSize: "50",
           borderRadius: 5,
           padding: 10,
           bgColor: "#cccccc",
           x:50,
           y:50,
           fontSize:"50",
           borderRadius:5,
           bgColor:"#cccccc",
           padding:10,
           borderWidth:3,
           borderColor:"#000000"




         }
    }],
    polyline:[{
      points:[{
        longitude: "113.016822",
        latitude: "28.14802",
      },{
          longitude: "113.026822",
          latitude: "28.14802",
      },
      {
        longitude: "113.046822",
        latitude: "28.14802",}],
      color: "#000000AA",
      width:5,
      broderWidth:2,
      bordeColor:"#FF0000",
      dottedLine:true
    }],
    circles:[{
      longitude: "113.016822",
      latitude: "28.14802" ,
      color:"#000000AA",
      fillColor:"#000000AA",
      strokeWidth:2,
      radius:400
    },{
        longitude: "113.010822",
        latitude: "28.14802",
        color: "#000000AA",
        fillColor: "#000000AA",
        strokeWidth: 2,
        radius:400
    }],
    includepoints:[{
      longitude:"113.016822", 
      latitude:"28.14802" 
    },
    {longitude: "113.516822",
        latitude: "28.14802" },
      {longitude:"113.016822",
      latitude:"28.94802" }]
  
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
  
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {
  
  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {
  
  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {
  
  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {
  
  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {
  
  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {
  
  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {
  
  }
})